package com.example.design.利用注解加反射消除重复代码.优化.annotations;

import java.lang.annotation.*;

/**
 * @Description TODO
 * @date 2022/12/26 14:15
 * @Author liuzhihui
 * @Version 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Inherited
public @interface BankAPI {
    // 接口路径
    String url() default "";
    // 接口描述
    String desc() default "";
}
